package com.xbongbong.pro.dataset.pojo;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

/**
 * @author gzt
 * @version 1.0
 * @Description -
 * @datetime - 2022/5/18-13:58
 * @since v1.0
 */

@Data
@ToString
public class UnionNode implements Serializable {
    private static final long serialVersionUID = 3662217887355462538L;
    private String id;
    private String name;
    private String type;
    private List<String> input;
    private float x;
    private float y;
    private Long formId;
    private boolean passFlag;
    private List<HashMap<String,Object>> field;
    private String filter;

    /*"field": [{
        "formId": 2,
                "originalAttr": "serialNo",
                "attr": "text_1",
                "attrName": "合并字段1",
                "fieldType": 10019,
                "src": {
            "node_xx1": "1&serialNo"
        },
        "srcB": {
            "node_xx1": {
                "formId": 1,
                        "originalAttr": "serialNo",
                        "attr": ""
            },
            "node_xx2": {
                "formId": 2,
                        "originalAttr": "text_2",
                        "attr": ""
            },
        }
    }]*/
}
